package main

import (
	"document_manager/router"
	"github.com/gin-gonic/gin"
	"log"
)

func main() {
	r := gin.Default() //默认8080端口
	router.InitDocumentRouter(r)
	router.InitNeatFileRouter(r)
	err := r.Run()
	if err != nil {
		log.Fatalln(err)
		return
	}
}
